package com.xy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import javax.validation.constraints.NotBlank;

/**
 * @BelongsPackage: com.xy.entity
 * @Author: WK
 * @CreateTime: 2023-07-19
 * @Description:
 * @Version: 1.0
 */
@Data
@TableName("crm_certificate_apply")
@ApiModel(value = "CertificateApplyEntity对象", description = "证件表")
@EqualsAndHashCode(callSuper = true)
public class CertificateApplyEntity extends TenantEntity {
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "系统字典证件类型的dict_key")
	private String bizCode;
	@ApiModelProperty(value = "证件类型值")
	private String typeKey;
	@ApiModelProperty(value = "证件类名称")
	private String typeName;
	@ApiModelProperty(value = "展商名称")
	private String realName;
	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名")
	private String name;
	@ApiModelProperty(value = "主办方证件类型表ID")
	private Long certificateTypeId;
	/**
	 * 单位名称
	 */
	@ApiModelProperty(value = "单位名称")
	private String orgName;

	/**
	 * 车型
	 */
	@ApiModelProperty(value = "车型")
	private String vehicleModel;

	/**
	 * 车牌号
	 */
	@ApiModelProperty(value = "车牌号")
	private String licensePlate;

	/**
	 * 座位人数
	 */
	@ApiModelProperty(value = "座位人数")
	private Integer numberOfSeats;

	/**
	 * 职位
	 */
	@ApiModelProperty(value = "职位")
	private String positName;

	/**
	 * 国籍
	 */
	@ApiModelProperty(value = "国籍")
	private String nationality;

	/**
	 * 联系人
	 */
	@ApiModelProperty(value = "联系人")
	private String linkman;

	/**
	 * 联系电话
	 */
	@ApiModelProperty(value = "联系电话")
	private String phone;

	/**
	 * 证件号
	 */
	@ApiModelProperty(value = "证件号")
	private String idCard;


	@ApiModelProperty(value = "头像地址")
	private String  url;

	@ApiModelProperty(value = "审核状态：0-未提交或者草稿 ，1审核通过，2审核驳回,3-审核中")
	private Integer bizStatus;

	@ApiModelProperty(value = "提交审核次数")
	private Integer auditorCount;

	@ApiModelProperty(value = "审核描述")
	private String  remark;

	@ApiModelProperty(value = "审核员ID")
	private Long  auditor;

	@ApiModelProperty(value = "审核员名称")
	private String  auditorBy;

	@ApiModelProperty(value = "是否强制提交")
	@TableField(exist=false)
	private String  forcing;
	@ApiModelProperty(value = "代理申报公司")
	private  String agentUser;
	@ApiModelProperty(value = "代理申报公司Id")
	private Long  agentUserId;

	@ApiModelProperty(value = "展商ID")
	@TableField(exist=false)
	private String  cid;
	@ApiModelProperty(value = "批次号")
	private String  orderNo;

	@ApiModelProperty(value = "制证状态")
	private String  makeState;
	@ApiModelProperty(value = "公安审核状态")
	private String  securityState;
	@ApiModelProperty(value = "卡号")
	private String  cardNumber;
	@ApiModelProperty(value = "流水号")
	private String  serialNumber;
}
